<?php

namespace app\service\admin;

use app\db\admin\D_adminRoleFunc;

//数据库操作层代理,功能衔接逻辑层和数据库操作层
class S_adminRoleFunc
{
    public $D_adminRoleFunc;

    public function __construct()
    {
        $this->D_adminRoleFunc = new D_adminRoleFunc();
    }

    public function getData($paramObj = "")
    {
        return $this->D_adminRoleFunc->getData($paramObj);
    }

    public function addBatch($paramObj = ""): array
    {
        return $this->D_adminRoleFunc->addBatch($paramObj);
    }

    public function delete($paramObj = ""): array
    {
        return $this->D_adminRoleFunc->delete()  ($paramObj);
    }

    public function getRoleBindFunc($paramObj = ""): array
    {
        return $this->D_adminRoleFunc->getRoleBindFunc($paramObj);
    }
    public function getFuncBindRole($paramObj = ""): array
    {
        return $this->D_adminRoleFunc->getFuncBindRole($paramObj);
    }
    public function setRoleBindFunc($paramObj = ""): array
    {
        return $this->D_adminRoleFunc->setRoleBindFunc($paramObj);
    }

}